package com.ucar.train.dto;

import java.io.Serializable;

/**
 * @author zhoujinmu
 * @title RoleAndMenuDTO
 * @projectName train-parent
 * @description TODO
 * @created 2019-08-08 10:18
 **/
public class RoleAndMenuDTO implements Serializable {
  private Long id;
  private Long rid;
  private Long mid;
  private String groupId;
  private String permission;
  private String roleCode;
  private String roleName;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getRid() {
    return rid;
  }

  public void setRid(Long rid) {
    this.rid = rid;
  }

  public Long getMid() {
    return mid;
  }

  public void setMid(Long mid) {
    this.mid = mid;
  }

  public String getGroupId() {
    return groupId;
  }

  public void setGroupId(String groupId) {
    this.groupId = groupId;
  }

  public String getPermission() {
    return permission;
  }

  public void setPermission(String permission) {
    this.permission = permission;
  }

  public String getRoleCode() {
    return roleCode;
  }

  public void setRoleCode(String roleCode) {
    this.roleCode = roleCode;
  }

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  @Override
  public String toString() {
    return "RoleAndMenuDTO{" +
      "id=" + id +
      ", rid=" + rid +
      ", mid=" + mid +
      ", groupId='" + groupId + '\'' +
      ", permission='" + permission + '\'' +
      ", roleCode='" + roleCode + '\'' +
      ", roleName='" + roleName + '\'' +
      '}';
  }
}
